package com.zhou.listener.library.utils;

import com.zhou.listener.library.vh.BaseDownloadViewHolder;

import java.util.ArrayList;

public class KeyUtils {
    public static void addKeyGens(BaseDownloadViewHolder vh, IKey key){
        if(vh.getKeys()==null){
            vh.setKeys(new ArrayList<IKey>());
        }
        vh.getKeys().add(key);
    }
}
